finding the square roots of complex numbers